s = "ljewnojnvcuiwqfweregaerhaehttogehsderhwexesngoisncuebgfoanwfdkewhfanfohe***"
sen = "g"
print(s.count(sen))